/*
 * @Description: 路由守卫
 * @Author: qingyang
 * @Date: 2023-01-12 14:42:48
 * @LastEditors: qingyang
 * @LastEditTime: 2023-01-12 15:58:08
 */
import type { Router } from 'vue-router';
import { createPageGuard } from './pageGuard';
import { createPermissionGuard } from './permissionGuard';
export const setupRouterGuard = (router: Router) => {
  createPageGuard(router);
  createPermissionGuard(router);
};
